package azalea.mqtt.parse.data;

import azalea.mqtt.parse.MqttData;

public class ConnectMqttData extends MqttData {
	//private int flag;
	private int protocolLevel;
	private int connectFlag;
	private int keepalive;
	private int willQoS;
	private int cleanSession;
	private int willFlag;
	private int willRetain;
	
	private int usernameFlag;
	private int passwordFlag;
	
	private String clientId;
	private String willTopic;
	private String username;
	private String password;

	public int getProtocolLevel() {
		return protocolLevel;
	}

	public void setProtocolLevel(int protocolLevel) {
		this.protocolLevel = protocolLevel;
	}

	public int getConnectFlag() {
		return connectFlag;
	}

	public void setConnectFlag(int connectFlag) {
		this.connectFlag = connectFlag;
	}

	public int getKeepalive() {
		return keepalive;
	}

	public void setKeepalive(int keepalive) {
		this.keepalive = keepalive;
	}

	public String getClientId() {
		return clientId;
	}

	public void setClientId(String clientId) {
		this.clientId = clientId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public int getWillQoS() {
		return willQoS;
	}

	public void setWillQoS(int willQoS) {
		this.willQoS = willQoS;
	}

	public int getCleanSession() {
		return cleanSession;
	}

	public void setCleanSession(int cleanSession) {
		this.cleanSession = cleanSession;
	}

	public int getWillFlag() {
		return willFlag;
	}

	public void setWillFlag(int willFlag) {
		this.willFlag = willFlag;
	}

	public int getWillRetain() {
		return willRetain;
	}

	public void setWillRetain(int willRetain) {
		this.willRetain = willRetain;
	}

	public int getUsernameFlag() {
		return usernameFlag;
	}

	public void setUsernameFlag(int usernameFlag) {
		this.usernameFlag = usernameFlag;
	}

	public int getPasswordFlag() {
		return passwordFlag;
	}

	public void setPasswordFlag(int passwordFlag) {
		this.passwordFlag = passwordFlag;
	}

	public String getWillTopic() {
		return willTopic;
	}

	public void setWillTopic(String willTopic) {
		this.willTopic = willTopic;
	}

}
